package com.t282.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mr.Chen
 * @since 2021-05-19
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @ApiModel(value="SysRoleRight对象", description="")
public class SysRoleRight extends Model<SysRoleRight> {

    private static final long serialVersionUID=1L;

      @TableId(value = "rf_id", type = IdType.AUTO)
      private Long rfId;

    private Long rfRoleId;

    private String rfRightCode;


    @Override
    protected Serializable pkVal() {
          return this.rfId;
      }

}
